/********************************************
* Copyrigt (C) rumi
* Module: mcu_config.h
*********************************************/
#ifndef mcu_config_H
#define mcu_config_H

#define MCU_ESP32   31
#define MCU_STM32   32

#define STM32_F1    1
#define STM32_F4    2
#define STM32_F7    3
#define STM32_H7    4
#define STM32_G4    5

#define ESP32_C3    1
#define ESP32_C6    2
#define ESP32_S3    3


#define MCU_TYPE        MCU_ESP32
#define MCU_MODEL       ESP32_S3

#if (MCU_TYPE == MCU_ESP32)

#include "sdkconfig.h"
#include <inttypes.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/semphr.h"
#include "esp_err.h"
#include "esp_log.h"

#elif (MCU_TYPE == MCU_STM32)



#if (MCU_MODEL == STM32_F1)
#include "stm32f1xx_hal.h"
#elif (MCU_MODEL == STM32_F4)
#include "stm32f4xx_hal.h"
#elif (MCU_MODEL == STM32_F7)
#include "stm32f7xx_hal.h"
#elif (MCU_MODEL == STM32_H7)
#include "stm32h7xx_hal.h"
#elif (MCU_MODEL == STM32_G4)
#include "stm32g4xx_hal.h"
#endif  // STM32_MODEL

#endif // MCU_TYPE

#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <stdbool.h>
#include <stdint.h>

#endif  // mcu_config_H
/********************************************
 * End of file
*********************************************/